<div class="hd-20161115">
        <div class="hd-banner-bg banner-bg1">
          <div class="hd-banenr">
            <p class="hd-discountCode"><span class="spanEmpty" style="width:295px;"></span>11.21一11.24<span class="spanEmpty" style="width:182px;"></span>11.25一11.27<span class="spanEmpty" style="width:175px;"></span>11.28一11.30</p> 
          </div>
        </div>
       
        <div class="hd-main-content">
            <div class="hd-display-container">
              <div class="hd-display-block w1100">
                <div class="panel-layout">
                  <img src="./images/201611156.png">
                  <ul>
                    <li><a class="hdPageLInk" href="#display1">XIAOMI</a></li>
                    <li><a class="hdPageLInk" href="#display2">IPHONE & MEIZU</a></li>
                    <li><a class="hdPageLInk" href="#display3">ALMACÉN CHINO</a></li>
                    <li><a class="hdPageLInk" href="#display4">MÓVILES REFORMADOS</a></li>
                    <li><a class="hdPageLInk" href="#display5">GADGETS</a></li>
                    <li style="background:none;"><a class="hdPageLInk" href="#Top"><img src="./images/201611157.png"></a></li>
                  </ul>
                </div>
               </div>
            </div>

        </div>
      </div>
      <style>
        .hd-20161115{background: #fdd56a;min-width: 1300px;}
        .hd-20161115 .banner-bg1{background: url(./images/2016111519.jpg)no-repeat center top;height:660px;min-width: 1300px;}
        .hd-20161115 .hd-banenr{height:660px;position: relative;width: 1103px;margin: 0px auto;}
        .hd-display-block {padding-top:100px;}
        .hd-banenr .hd-discountCode {position: absolute;font-size: 18px;color: #b9000e;top: -6px;margin: 0px;width: 100%;height: 26px;text-align: left;}
        .hd-discountCode .spanEmpty {display: inline-block;height: 100%;}
        .review-wrapper{text-align: center;padding:5px;background: #fe4100;height: 75px;overflow: hidden;position: relative;}
        .review-wrapper .product-info { font-size: 15px; line-height: 15px; height: 30px; overflow: hidden; display: block;color: #fff1d0;padding-top:5px;}
        .hd-main-content .lis1 {margin:0px;padding:25px 0px;}
        .hd-main-content ul li.small-list {width: 200px;height: 286px;margin:5px;position: relative;-webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease;background: #fff;float:left;}
        .hd-main-content ul li.small-list:hover {transform: translateY(-6px);-webkit-transform: translateY(-6px); -o-transform: translateY(-6px); -ms-transform: translateY(-6px); -moz-transform: translateY(-6px);}
        .hd-main-content ul li.small-list:before{pointer-events: none;position: absolute;z-index: -1;content: '';top: 100%;left: 5%;height: 10px;width: 90%;opacity: 0;background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.35) 0%, transparent 80%);background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 80%);-webkit-transition-duration: 0.3s;transition-duration: 0.3s;-webkit-transition-property: transform, opacity;transition-property: transform, opacity;}
        .hd-main-content ul li.small-list:hover:before{opacity: 1;-webkit-transform: translateY(5px);transform: translateY(5px);}
        .hd-main-content ul li.hd-banner{width: 415px;float: left;margin-right: 5px;}
        .hd-main-content ul li.hd-banner img {width:100%;-webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease;opacity: 1;}
        .hd-main-content ul li.hd-banner:hover img {opacity: 0.8;}
        .small-list .discount-number2{position: absolute;height: 55px;width: 55px;font-size: 20px;color: #fdd56a;font-weight: bold;top: 0px;right: 0px;line-height: 55px;text-align: center;background: #ff0000;border-radius: 50%;}
        .hd-main-content ul li.small-list img {width:90%;padding:10px;height:181px;}
        .hd-main-content .old-price {font-size: 15px;text-decoration: line-through;color: #fff1d0;margin-right: 5px;}
        .hd-main-content .current-price { font-size: 25px;font-weight: bold;color: #fff100;}
        .hd-main-content ul li.small-list img.hd-btn-buy {position: absolute;left: 0px;-webkit-transition: all .3s linear 0s;-moz-transition: all .3s linear 0s;-o-transition: all .3s linear 0s;-ms-transition: all .3s linear 0s;transition: all .3s linear 0s;bottom: -55px;height:auto;width:auto;padding:10px 0px;}
        .hd-main-content ul li.small-list:hover img.hd-btn-buy {bottom:-9px;}
        #display4 .hd-display-block{padding-top:115px;}
        .panel-layout{width: 165px; height: 255px; position: fixed; top: 0; margin-left: 1055px;-webkit-transform: scale(0.01); -moz-transform: scale(0.01); -o-transform: scale(0.01); -ms-transform: scale(0.01); transform: scale(0.01); -webkit-transition: all .6s linear 0s; -moz-transition: all .6s linear 0s; -o-transition: all .6s linear 0s; -ms-transition: all .6s linear 0s; transition: all .6s linear 0s; visibility: hidden; text-align: center;}
        .panel-layout.active { visibility: visible; -webkit-transform: scale(1); -moz-transform: scale(1); -o-transform: scale(1); -ms-transform: scale(1); transform: scale(1);}
        .panel-layout.active { visibility: visible; -webkit-transform: scale(1); -moz-transform: scale(1); -o-transform: scale(1); -ms-transform: scale(1); transform: scale(1);}
        .panel-layout ul {position: absolute; left: 0px; width: 100%; top: 101px;}
        .panel-layout ul li{list-style: none;margin: 0px auto 5px;background: #c23c3f;border-radius: 8px;}
        .panel-layout ul li a{display: block;width: 100%;color: #fff100;text-align: center;font-size: 14px;padding: 5px 0px;text-transform: lowercase;}
        .panel-layout ul li.current a {color:#0076d6;}
      </style>

      <script type="text/javascript">
        (function($){
            $(function(){
            var str1 = '',str2 = '';
            for(var i = 0; i < 13;i++){
                str1 += `<li class="small-list">
                          <a class="hd-link-img" href="#"><img src="./images/2016040616.jpg" alt="Blackview Ultra A6 Plus 2GB 16GB Dorado"></a>
                           <div class="review-wrapper">
                             <a href="#">
                               <span class="old-price">129.95€</span>
                               <span class="current-price">99.95€</span>
                               <span class="product-info" href="#">Blackview Ultra A6 Plus 2GB 16GB Dorado</span>
                               <img class="hd-btn-buy" src="./images/201611152.jpg">
                             </a>
                          </div>
                           <span class="discount-number2">-25€</span>
                        </li>`;
            }

            for(var i = 0; i < 5; i++){
                str2 += `<div class="hd-display-container" id="display${i+1}">
                            <div class="hd-display-block w1100">
                                <div class="display">
                                <div class="hd-product-list">
                                    <ul class="lis1 clearfloat">
                                        <li class="hd-banner" style="margin-top: -96px;">
                                            <a href="#"><img src="./images/201611152.png"></a>
                                        </li>
                                        ${str1}
                                    </ul>
                                </div>
                                </div>
                            </div>
                        </div>`;
            }

            $(".hd-main-content").prepend(str2);
              var sideNav = $(".panel-layout");
              $(window).on("scroll",function(){
                var sideNavShow = $(".hd-banner-bg").offset().top + $(".hd-banner-bg").outerHeight(true)-200;
                var modTop = [];
                if($(this).scrollTop()>=sideNavShow){
                    sideNav.addClass("active");
                  }
                  else{
                    sideNav.removeClass("active");
                  }
                
                for (var i = 0; i < $(".panel-layout ul li .hdPageLInk").length - 1; i++) {
                    modTop[i] = $($(".panel-layout ul li a").eq(i).attr("href")).offset().top-5;

                    if ($(window).scrollTop() >= modTop[i]) {
                      $(".panel-layout ul li").removeClass('current').eq(i).addClass('current');
                    };
                  };
              });
              
              sideNav.find("li").find(".hdPageLInk").on("click",function(e){
                e.preventDefault();
                var aHash = this.hash;
                $("html,body").animate({
                  scrollTop: aHash=="#Top" ? 0 : $(aHash).offset().top
                });
              });
            });
        })(jQuery); 
      </script>